/**
 * Copyright (c) 2015-2017 <a href="">caishigou</a> All rights reserved.
 */package com.rc;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * createTime: 2018-10-11 18:47:54
 * @author xx
 * @version
 */
public class User {

    /**
     * ID
     */
    private Integer id;

    /**
     * 代理商ID
     */
    private Integer agentId;

    /**
     * 邮箱
     */
    private String email;

    /**
     * 密码
     */
    private String password;

    /**
     * 名字
     */
    private String name;

    /**
     * 手机号
     */
    private String phone;

    /**
     * 储备金
     */
    private Long money;

    /**
     * 冻结资金
     */
    private Long freezeMoney;

    /**
     * 积分
     */
    private Long integral;

    /**
     * 等级
     */
    private Integer grade;

    /**
     * token验证
     */
    private String token;

    /**
     * 状态:0=禁用,1=启用
     */
    private Integer status;

    /**
     * 创建时间
     */
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+08:00")
    private java.util.Date createTime;

    /**
     * 图片
     */
    private String photo;

    /**
     * 微信openid
     */
    private String wechatOpenId;

    /**
     * 微信唯一ID
     */
    private String wechatUnionId;

    /**
     * 支付密码
     */
    private String paymentPassword;

    /**
     * 无密码:0=否,1=是
     */
    private Integer noPassword;

    private String referee;

    public void setReferee(String referee) {
        this.referee = referee;
    }

    public String getReferee() {
        return referee;
    }

    public void setId(Integer value){
        this.id = value;
    }

    public Integer getId(){
        return this.id;
    }

    public void setAgentId(Integer value){
        this.agentId = value;
    }

    public Integer getAgentId(){
        return this.agentId;
    }

    public void setEmail(String value){
        this.email = value;
    }

    public String getEmail(){
        return this.email;
    }

    public void setPassword(String value){
        this.password = value;
    }

    public String getPassword(){
        return this.password;
    }

    public void setName(String value){
        this.name = value;
    }

    public String getName(){
        return this.name;
    }

    public void setPhone(String value){
        this.phone = value;
    }

    public String getPhone(){
        return this.phone;
    }

    public void setMoney(Long value){
        this.money = value;
    }

    public Long getMoney(){
        return this.money;
    }

    public void setFreezeMoney(Long value){
        this.freezeMoney = value;
    }

    public Long getFreezeMoney(){
        return this.freezeMoney;
    }

    public void setIntegral(Long value){
        this.integral = value;
    }

    public Long getIntegral(){
        return this.integral;
    }

    public void setGrade(Integer value){
        this.grade = value;
    }

    public Integer getGrade(){
        return this.grade;
    }

    public void setToken(String value){
        this.token = value;
    }

    public String getToken(){
        return this.token;
    }

    public void setStatus(Integer value){
        this.status = value;
    }

    public Integer getStatus(){
        return this.status;
    }

    public void setCreateTime(java.util.Date value){
        this.createTime = value;
    }

    public java.util.Date getCreateTime(){
        return this.createTime;
    }

    public void setPhoto(String value){
        this.photo = value;
    }

    public String getPhoto(){
        return this.photo;
    }

    public void setWechatOpenId(String value){
        this.wechatOpenId = value;
    }

    public String getWechatOpenId(){
        return this.wechatOpenId;
    }

    public void setWechatUnionId(String value){
        this.wechatUnionId = value;
    }

    public String getWechatUnionId(){
        return this.wechatUnionId;
    }

    public void setPaymentPassword(String value){
        this.paymentPassword = value;
    }

    public String getPaymentPassword(){
        return this.paymentPassword;
    }

    public void setNoPassword(Integer value){
        this.noPassword = value;
    }

    public Integer getNoPassword(){
        return this.noPassword;
    }

}
